package cn.stylefeng.guns.modular.lx.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.lx.entity.LxSpWzh;
import cn.stylefeng.guns.modular.lx.model.params.LxDdWzhParam;
import cn.stylefeng.guns.modular.lx.model.params.LxSpWzhParam;
import cn.stylefeng.guns.modular.lx.model.result.LxSpWzhResult;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wzh
 * @since 2023-12-01
 */
public interface LxSpWzhService extends IService<LxSpWzh> {



    /**
     * 新增
     *
     * @author wzh
     * @Date 2023-12-01
     */
    void add(LxSpWzhParam param);

    /**
     * 删除
     *
     * @author wzh
     * @Date 2023-12-01
     */
    void delete(LxSpWzhParam param);

    /**
     * 更新
     *
     * @author wzh
     * @Date 2023-12-01
     */
    void update(LxSpWzhParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author wzh
     * @Date 2023-12-01
     */
    LxSpWzhResult findBySpec(LxSpWzhParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author wzh
     * @Date 2023-12-01
     */
    List<LxSpWzhResult> findListBySpec(LxSpWzhParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author wzh
     * @Date 2023-12-01
     */
     LayuiPageInfo findPageBySpec(LxSpWzhParam param,String condition);


    void update2(LxDdWzhParam param);
}
